Fix new robot creation bug in UI