Fix problem with drawing icon.