fixed bug on TileMap and Preloader