Small fix to scripted enemy