Fixes thumbnail scrolling jumps (issue #3230)