Fixed two typos in the code which didn't impact rendering.