fix some logic errors in GMT::HandleStaticObjectCollision