When your in 2D sketching mode, the UI is focused on editing the content of the sketch and possibly uses the name internally to reference it and those edit actions. If you change the name mid process, there would be unpredictable results. It's normal to create the sketch, edit it, exit the edit (create) mode, then your free to rename it to whatever you like.