Fix critical crash

Crash when scrolling if display area is larger then "viewport"