After installing Security Update 2018-005 on Sierra my iMac 2011 is having troubles waking up after few hours of sleep (doesn't seem to be the problem when the sleep mode is user-initiated and/or doesn't last long). The system seems to wake up on power button/mouse/keyboard but the screen stays black. Further behavior is erratic - sometimes it takes a few power cycles to bring the screen back to life, sometimes it's SMC/PRAM reset, sometimes the only thing that helps is plugging an external Thunderbolt Display I use with another Mac - the picture immediately appears on TB and shortly after on built-in. The problem persists after updating to High Sierra. Hope someone can help with the solution or advise what can be the reason. Thanks!