Client input restructure and movement bug fix