Cannot add layers to legend when copying a Map UDIG-1968

Signed-off-by: Jody Garnett <jody.garnett@gmail.com>