Fix issue while scrolling on edit mode