Chrome bug workaround