Revert "Fix navbar height dialog value when it is 0"

This reverts commit cff66a77a7bac54fdeaf3d0ac4b35aad90334ecd.