Fix key repeats when non-continuous rendering

Closes #2085