Fixed issue with tooltip text rendered in wrong template