More efficient render_pix_icon.

No performance data, just logic that calling once and storing the minimalist result is more efficient than calling twice.