fixed image icon appearance logic