Fixed handling of modifier keys in KeyEventArgs constructor (bug #6707)