it does not draw if mouse down happens outside drawing area