Fixed removal of tab buttons during the binding phase of the component

When the template was not yet deleted the remove function triggered the removal on the wrong button element. This issue is now fixed.
Merge pull request #140 from mkaring/1.4

1.4 - TabGroup bugfix