Fixed some nav hiding behavior.