Fix tile resizing