Improved Canvas-resizing (somehow...)