Fixed the iOS rotation / zooming bug, with thanks to TCB for testing.