Fix image export