Fixed scene creation bug.