fixed looping on a scene