Fixed issue with sidebar clear when contextual links is activated.