Show the mouse according to the active state