If possible, consider transferring the title to a data attribute called data-title. This custom attribute can be utilized for various other purposes related to the title.
If it's not feasible, you may opt to implement a JavaScript solution like the following:
$("img").mouseenter(function(){
// Retrieve the current title
var imgtitle = $(this).attr("title");
// Save it in a temporary attribute
$(this).attr("data-title", imgtitle);
// Reset the title to prevent tooltips from displaying
$(this).attr("title","");
});
$(".element").mouseleave(function(){
// Restore the saved attribute
var imgTitle = $(this).attr("data-title");
// Reapply the original title
$(this).attr("title", "imgtitle ");
});
Implementing this approach should effectively address the issue at hand.