Fix black background after image export