tried to fix square jump functionality (did not work as expected).