Fixing `position: relative` bug mentioned in Issue #9342