Fix background clearing using wrong transform