[[ Cocoa ]] Make sure we don't get mouse click events against a window which has a sheet.