Stop repeated keypresses from causing lag