block and lava tile collision detection