WPBQA-335 Added check for a render_element.