Cocoa: Clear modifier keys if window focus lost
Merge branch 'cocoa'