Fixed drawing artifacts on Windows when line wrapping disabled (fixes #250).