Fix IE11 beginPath #198 #194