fixed a looking glitch when input is disabled