iOS: Rotate the view so that the touch coordinates are also rotated to match the current device orientation
Fix an issue when the main window is not propery resized on iOS 8
Get the device orientation from the status bar orientation in layoutSubviews for the main view
Trigger only those mouse buttons that change state
Move the mouse pointer position to the touch before processing the touchPressed event; make the touch release event to actually release the mouse button
Update the GUI context dimensions to match the window size