Fixed errors in gwt client that prevented correct display of aggregated layers