Corrected off-by-one-pixel error in Q/viewport tool