Add Keypress event to move rect