rfb.js: setRestrictPixel
display.js: Improved rescale function with new disableResize option