Bug workaround for old versions of Chrome