Fix category active item issue