Apply dark to WebView
Strictly define drawing context