image pairing

Issue with Image Pairing with WP 6.9 Update

We got this issue with Image paring memory game module after updating WP Core to 6.9, this is immedietly fixed after rollback. We also have the latest version of H5P on our site.
Attached are screenshot of the issue. On the screenshot, the memory game is not working at all, not even hidden plus the layout is broken. The other screenshot is how it should look like. 

Pages