Fix PagedScrollPane scrolling vertically under some circumstances