Fix for zoom to extent of session and not layer

...f the layers in the session