Fixed friction being applied whilst airborne

Reported by tonibm9 in #1300.