Fixed crash after hide active item.