Fixed bug in SheetImage:SheetSize

The setSheetSize function was not working properly when margin or spacing were non zero and not null :
the cw, ch values did not take the margin and spacing parameters into account when calculating cell height and width.
It works with my own project now, and should not break anything else, but I have not tested it on other samples.