Fix for div with content but no children'