fixed bug with some size configuration not all being in the canvas