Solved issue of disappearing tooltips when clicking on button. Moved the functionality to onRender event. Fixes #21