Fixed brush compatibility with IE 10.