Dot repeat stops working after pressing "ESC"