Fix image export for IE