fix size of canvas window