masks: improve status update of the various shape create icons; should mostly fix #9748

concerning the mask manager: this fix still does not make the icons' on/off status
always reflect the creation mode, namely if you interrupt shape creation by right-click.
however, now shape creation continues to work as expected: click once on the desired shape icon.