It could be good to let the canvas size be adjustable instead of fixed when adjusting the windows size.