Fixing Cell Not set On click event

If there were no frozen rows, then the cell would never be set on
a click event. It looks like this got accidentally placed inside
of this if a few months back during a code reformat:
5d35dd13229f7d34bde218eaaa3be95f6f3bedb3
as the previous commit did not have this inside of the if:
b0ff402a979e73f7d82ee32b0d657ae2af3f6697