[#131475431] Fix an assert that was attempting to test whether an element is a rect or not.
[#131475431] Fix an assert that was attempting to test whether an element is a rect or not.

concord-consortium/codap,concord-consortium/codap,concord-consortium/codap,concord-consortium/codap,concord-consortium/codap