Fixed annoying bug with repeating keys.