Currently, hres and qres are 1/2 and 1/4 the width of the full res frame, rounded down. They should really be rounded up.