GRAPHICS: Fix off-by-one error in software renderer