Prevent closing a door if the tile is occupied