Fix the rendering problem that happens when a block is moved.