Specify custom behavior on mouseleave event.