Setting the 3D view cursor on startup could crash because the viewport hasn't been assigned to the region.