Fixed a bug preventing rotated worlds.