Fixed enviro collision detection bug