fix size dirty checking

`_sizeDirty` was always false, and there was a typo when checking if there is a size