Fix starttagposition for scripts