Fix a bug currently occurring in Chrome 38 beta (see #7281)