restore small canvas size when leaving the fullscreen mode;