Fixed bug in input controller changed flag