Fixed keyboard movement for editing mode.