Fixed issue where character did move on horizontal platforms