Avoids interferance with elements that have their own overflow behaviour such as table cells. Related to #3774