Fix tile rendering