osc: fix mouse hiding