issue #23966: apply opacity hack on resize

I hate this hack, but I haven't found a better way around it in Notify either.