Quick shitty fix to lessen CPU impact, might miss keypresses