Fix input selection change