You're right, of course. The border style was fixed single. I didn't suspect it because I reasoned that the border should've covered the outermost 1-pixel stripe, thus reducing the visible part to (1,1) to (398,198).

Thanks for the quick answer. Problem solved.

Jimmy