Revert "Remove workaround for WebKit bug 44083."

This reverts commit 2b148070553c9493cae01d4960d283ec5bdf957f.

Fixes #1903.