Fixed shortcut key when creating objects
I fixes the bug that the shortcut does not get overridden while the object text is being focused and edited.
I fixes the bug that the shortcut does not get overridden while the object text is being focused and edited.