Fixed crash when rotated

The crash had nothing to do with rotation. Fun.