Crash bug fix for empty scrollviews