WMS server: fix groups from embedded files if embedded project uses custom drawing order