Fix nav lock bug.