We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I an encountering a problem where rectangles have their borders drawn in a different place from the fill. They where being drawn perfectly fine, but then I turned on depth-testing and depth sorting, and I could not see the borders. I turned off dept testing and sorting, but this did not fix the problem. I then found that the borders are being drawn in a different place and are about 5x larger, and can only be seen when the screen is enlarged. I have no idea what is causing this problem, and any help is greatly appreciated. Here are some pictures, these were both taken from the same sketch, with the second one have been taken after the screen was enlarged.
The large rectangles in the middle of the screen are the borders of the ones seen in the top left.