compositor: commit subsurfaces before the main surface
The main surface commit includes the xdg surface commit. Here, the accumulated surface size is validated. All subsurfaces must be comitted first to ensure that the corrent current values are used.