Fixes a critical bug in the InputManipulator