Fixed TileManager, now placing tiles correctly