Fix the refresh issue where stages with scroll bars sometimes don't render