Fix: used to crash on early key pressed at startup