Move code to WorldspaceWidget so that UnpagedWorldspaceWidget can be supported.