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

You might need to write your custom input which handles that.