(3_0_X) Added missing check to scrollView

Backport of PR #3847