#1204: Small improvement when working with Foundation tooltip