Fix blurry lines

Same result as #451 so it fixes #374 as well. But according to @ebeigarts this works in IE8 as well. I cannot test on IE, but it works in Firefox en Chrome.