IsPageOverflow discards null heights/widths

Change-Id: I1f1728deeffaa0571f80776e5f011a594632b8cc