set min canvas size