Fixed typo causing image rendering bug