use Size instead of CCSize