Fixed refactored SceneObject.cpp