Workaround for Chrome's issue 174023

See #2649