calculate isect on mousemove