fixed bugs in CollisionWithFixedobjects