cocoa_common: fix mouse autohide on MenuBar/Dock interaction

This is needed after last commit. A bug within a bug (yo dawg)! Serious
explaination in the source code comment so that it's not forgotten.