cocoa: fix mouse autohide

broken in 547b62f