Fixing activity editor bugs.