fixed 'free-floating' tile problem