fixed tooltips not working until button was clicked