Neater fix for Mac meta key - thanks to Nick.