Fixed bug in scene node.