Or it could be similar to how Warhammer Online is, where it won't send keys to the window if it is in the foreground.