clear measurements on enable/disable, prevent bug in mouse listeners