Fix navbar height dialog value when it is 0

Change-Id: I99d5731a94e04dcadec245598d0d08034c5f9158