diff --git a/typo3/sysext/backend/Classes/Tree/View/ContentCreationPagePositionMap.php b/typo3/sysext/backend/Classes/Tree/View/ContentCreationPagePositionMap.php
index 3bbde8783291e9c47883d279a6a63ae414b9d7db..043cee29aa63f3face729d104004c0624b8c16fa 100644
--- a/typo3/sysext/backend/Classes/Tree/View/ContentCreationPagePositionMap.php
+++ b/typo3/sysext/backend/Classes/Tree/View/ContentCreationPagePositionMap.php
@@ -56,7 +56,7 @@ class ContentCreationPagePositionMap extends PagePositionMap
             'edit[tt_content][' . (is_array($row) ? -$row['uid'] : $pid) . ']' => 'new',
             'defVals[tt_content][colPos]' => $vv,
             'defVals[tt_content][sys_language_uid]' => $sys_lang,
-            'returnUrl' => $GLOBALS['SOBE']->R_URI
+            'returnUrl' => GeneralUtility::_GP('returnUrl')
         ]);
         return $this->clientContext . '.location.href=' . GeneralUtility::quoteJSvalue($location) . '+document.editForm.defValues.value; return false;';
     }