Update backgroundCanvas.js

auto-scale to keep dimensions below canvas's max, 8192