Restores proper layouts for perspectives