updated for version 7.4.458
Problem:    Issue 252: Cursor moves in a zero-height window.
Solution:   Check for zero height. (idea by Christian Brabandt)
Added tag v7-4-458 for changeset fe1827921d50