This may be a work-around for some. Works on my site.
https://gist.github.com/tankbar/452f0725ec59748e03f11592110d4e07
I use CodeSnippet plugin to add the code instead of messing with the functions.php
Seems to be related to the update. It is happening on my site as well. Looking for a solution…