Force integer type for window height variables