ignore maxHeight if it is zero.
Merge pull request #56 from delackner/master

ignore maxHeight if it is zero.