Fix input selection not updating rendering