Fix sidebar active state