Before calling renderTile, check if the element is still attached to the DOM