It fixes the bug that the shortcut does not get overridden while the object text is being focused and edited.