fixed #2074: Scene init twice bug