Fixing clipping when rendering in stretch/shrink mode.
// TODO: figure out why cursor hide/showing/moving is causing 1 pixel artifacts