Updated mouse handler to search for correct icon extension name.