Fixed browser compatibility