Fixed keyboard contorls bug.