Make InputManager work from a stack.
Merge branch 'master' of https://github.com/grokys/Avalonia