gdi: fix for line draw outside range