Fix bug in speedbar interaction.