Added workaround for a Chrome bug.