Fix rendering issue. Add active class