Changed key combination detection strategy
Fixed keys getting stuck when focus is lost