Added pageX, pageY fallback support.
Fixed bug where context menu would be position at an incorrect coordinate in inline mode.
Fixed issue with fixed floatpanels and contextmenu.
Fixed so menus and tool tips gets constrained to the current viewport.