Fix directory live tab auto-clicking