Fixes deleting tiles