fix flickering when starting editing cell after scrolling the parent container