Incorrectly sized Canvas now raises an InvalidCanvasSizeException