Fix for StWidget cache invalidation
There is a case where the StWidget paint state cache fails to be properly invalidated after a file monitor changed event. This MR fixes the issue.
There is a case where the StWidget paint state cache fails to be properly invalidated after a file monitor changed event. This MR fixes the issue.