Fixed bug in scene edition