Fixed leaf textures not changing with graphics

Previously, the textures were set only when the resources loaded, and
didn’t change with the graphics setting.