Small typo CGGetMid[X|Y]