This is not a bug.
There are several models that require a a pixel to be defined beyond the
current studied pixel.
This border problem is solved in the Horton machine by not calculating the
value on the border, since it would be undefined.
You maybe want to create the map on the whole thing and the extract the basin
with a mask?