fix view when setting image