fixed sequences not working properly when outside the editor