Workaround for WebView bug.

Bug details: https://code.google.com/p/android/issues/detail?id=17327
Workaround adapted from: http://stackoverflow.com/a/7297536