[custom] remove flickering during animations