Prevent image loss