hack so that shapes aren't drawn unless the mouse has moved