Fixed error causing headless render to never start