Revert borders to integers for subpixel layout