Fixed an off-by-one-pixel bug.