Fix onCollision calling