Fix tile layer.