g: fix division by zero when triggering jump pads in zero gravity