Minimal size of canvas. #1258 Canvas bugfix.