Modified frog and fly to log collisions correctly.