InputEngine fix