Fixing scrolling crash