Fixing click event being catched by the icon.