Fix modal backdrop overlaying the modal's scrollbar

Fixes #14916.