Fix bug with area calculation.