Improved work with tilemap