Pointer click detection is wrong after rotating the HTML (via CSS). Click on GUI elements not detected

Hi. Well basically the goal is to have like “forced landscape mode”. As I understand, browsers are not allowing to force landscape orientation without user interaction (but I’ve been told that some engines, like Cocos, have ability to do this, but I don’t know how). So the idea was to detect portrait mode and via CSS to rotate the whole page to imitate landscape orientation. Rotating just the GUI will not work for me, I suppose.

Is there a way to somehow force engine to render everything rotated by 90 degrees…