fix mousemve handler in bresenham demo