moar tiled optimization stuff