ccCenterWindow works as intended