Fixed a bug inside our input system.