Fixed double jump issue when in corners.