Screw it; just use the standard mouse hiding.