BUGFIX: fixed bug in scene.replaceView.