Fix issue with Socket Scan Keyboard when pressing space and next
character is deleted.