Fix shortcut when creating objects
It fixes the bug that the shortcut does not get overridden while the object text is being focused and edited.
Edited by Prakhar Agarwal
It fixes the bug that the shortcut does not get overridden while the object text is being focused and edited.