Add window height sanity check