Fix clear event to account for key events