Fixed an error being caused by InputSlot.