Fix SelectedCell out of bounds exception

If no cell is selected, KeyDown() and CellLeave() were throwing out of
bounds exceptions