Fix bug in PartDesignGui Workbench that may cause a crash