Fixed crash when loading scene with phone in portrait orientation.