hack to fix the rendering scroll lag