[Bug 24301] ICO parsing needs an improvement