Improved Screenshare Resize algo