fixes for ios window size including device-orientation-changes and retina support