Fix initial column visibility in main key tree
(cherry picked from commit fbc6ed9f8ffe84e2beac00d43e9678d4ea43215d)