Revert "Fix data race"

This reverts commit 9cb6c834dcf6c5019f6a5a3cabce5584127cf226.
fixup! Use Cell/RefCell for interior mutability of Element.