Fixed iconLayer implementation's iOS5 crash.