Fix inability to rename components

+ Fixes issue #1989 on the official buggenie issue tracker
Merge pull request #193 from keelerm84/issue-1989-cannot-rename-components

Fix inability to rename components