Check if an email had overflow-x and overflow-y when checking if the element is hidden