Added default case to tackle imaginary out-of-bounds keydowns