Add obsolete attribute to CCPoint.FromSize to use explicit cast.