fixed tooltip issues with not closing when clicked