Make imageswap skip redundant updates