Fixed bug with interaction when setting internal stage reference