Fix an address calculation issue with area filling