Apply style group to detached widgets.

This seems to make sense, and fixes the sl2viewport function.