correct flickering when slicing