revised mouseleave behaviour(2)