Fix to ensure stable index values for tab buttons and content.
Fix to ensure stable index values for tab buttons and content.

cbeck88/cegui-mirror-two,cbeck88/cegui-mirror-two,cbeck88/cegui-mirror-two,cbeck88/cegui-mirror-two,cbeck88/cegui-mirror-two