Change mocking of height so it passes in Chrome as well as FireFox.

I named the branch incorrectly... failure was on Chrome, not FireFox.

Using the spy for height doesn't work on Chrome (height is not a function there?). This change seems to work on both.