Fixes double sidebar issue.