(Glitch64) Refactor grClipWindow