Fix image mode interaction