Fix drag/drop bug for top-level spaces