Fix tooltip directive