Added missing return to addComponent()

Dunno why I didn't fix this earlier. If addComponent() is successful it
should return true, but before this commit it was just doing nothing.
Whoops.