reduce flickering when mix frames is enable