HandleInput Working Correctly