Fix on browsers other than Chrome