fix for measure and draw tools