Fixed tooltip directive bug