small fix for large resolutions with short vertical height