Fix: Resolves an issue with document-start not being respected in user scripts.