do not round mouse position since lines can have fractional screen coordinates now