Implement equality check on Cell so damage checking works correctly on canvases using it.