Add loging to mouse show and hide.