Removed fast path for border painting of uniform square border as it was producing an off-by-one border error and unlikely to add any speed.
Added some more pixel tests.