mac: Fix blank page after devtools is opened.