fixed keyboard event, text event, canvas focus