Wrong mouse / touch position in rotated canvas

OpenFL 8.9.6
Lime 7.7.0
HTML5 desktop

Add transform: rotate(90deg) to canvas or to div with openfl.
Mouse or touch coordinates will be wrong.
Can be reproduced in any sample. E.q. PiratePig