Fix bilinear upscaling; works from/to every resolution now