Fix input_mnager behaviour to what it was intended. Patch idea by Dylan.