Fix error when activeCell is not defined