Fix image display toggle.