Fix annoying behavior after category mapped in drag and drop