fix MgImageCALayer crop/center rect mapping