Fixed some little bug on icon control.