fix weird drawings of keypress actions in action editor