Fixed CollisionWith condition for both platform.