Slight fix for collision detection vars