Export: Wait for image loading, fixed wrongly copied code