Prevent TypeError in getCellInTable.

This only reduces noise in the console log. This error only
occured when the user tried to move beyond the border of the table
which is ignored anyway.