Set currentScene's parent item before calculating contentHeight and
contentWidth.