removed scaling in OnWindowSizeChanged
support for rotation