Tilemap rendering fix