Prevented mario from jumping consecutively while holding down the jump button