When running in windows with my modification the rect is visible on the edge of both windowed and fullscreen, likely because the window is 1280 x 720 and the screen is 1920 x 1080, same ratio. I suspect this would have also been true before the slight modification as well.