diff --git a/Classes/Backend/LayoutSetup.php b/Classes/Backend/LayoutSetup.php
index <HASH>..<HASH> 100644
--- a/Classes/Backend/LayoutSetup.php
+++ b/Classes/Backend/LayoutSetup.php
@@ -74,6 +74,10 @@ class LayoutSetup
         $this->setDatabaseConnection($GLOBALS['TYPO3_DB']);
         $this->setLanguageService($GLOBALS['LANG']);
         $pageId = (strpos($pageId, 'NEW') === 0) ? 0 : (int)$pageId;
+        if ($pageId < 0) {
+            $pidRecord = BackendUtility::getRecord('tt_content', abs($pageId), 'pid');
+            $pageId = is_array($pidRecord) ? (int)$pidRecord['pid'] : 0;
+        }
         $this->loadLayoutSetup($pageId);
         foreach ($this->layoutSetup as $key => $setup) {
             $columns = $this->getLayoutColumns($key);
[BUGFIX] Get correct PID since negative IDs point to content records

Change-Id: Ide<I>a<I>e4af<I>d<I>a<I>f<I>df<I>
Resolves: #<I>
Releases: master, 7-0
Reviewed-on: <URL>