Fix momentary visual artifacts when changing blocks.