Fix for iOS where orientation works differently

Hi,
This fixed issue #107 for me.
A.