Added core.render.halfPix which offsets drawing by half a pixel