Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Chris Willis-Ford <3843c6606a6c6d21dbf3ce6a506bc21e74c7e946@users.noreply.github.com>
LLK/scratch-render,LLK/scratch-render