Fix rendering bug noticed by @dherman.