Fix canvas size.