fixed bug where collision was being wrongly reported