Alert not hiding after tooltip shown, fix #1075