There are no problems. You just calculate area of the same triangle being translated to put one vertex into coordinate origin. Result is correct