Keeps doing it regardless. Every day.
I do sympathise with everyone suffering this problem. It is not only the time wasting and damaging effect of the SWF that we all have to bear, but the lack of recognition and acknowledgement is a further insult to users and loyal customers.
Nevertheless, we have no choice but keep trying. As we have talked earlier on this thread, setting or not PN can only circumvent the problem, but cannot be a resolution. This and any other possible change of how one works may only superficially alleviate the SWF problem. The bottom line is:
It should not happen whatever the user's choice of preference settings!
Being realistic, we should not fail to acknowledge that SWF apparently affects only some computers, as no matter how significant the number of people who have reported it here, there must be many others who do not appear to be experiencing the issue. To be entirely fair, I am aware of two MacBookAir laptops, belonging to relatives, running High Sierra, which have not shown this malfunction, at least over the past month and a half, since they have upgraded the OS. (unlike my iMac, which has done the SWF since day one of HS)
This seems indicative that the SWF problem (while still likely an OS fault) might be also triggered circumstantially. That is depending on particular type and combination of application software in use. Unless I have been pushed to the state of hallucination, it seems to me that the SWF happens on my iMac differently, depending on the programs running. Initially I suspected my browser (deliberately not specifying), however now I have started to suspect that it is more the number of programs running, when the iMac goes to sleep, rather than any specific one.
I have experimented with various combinations, but it is not so simple, as I certainly have a lot more pressing work to do. If anyone can spare time and attention to try this (admittedly flimsy) hypothesis, I'd be curious.