Well it is, it's just that (0, 0) is essentially on the edge of your window.
What you expect is that the surface between (0, 0) and (1, 1) is being colored.
For that you need to move the point into the middle of that surface, thus the position required is actually (0.5, 0.5)