matcap/attenuation: Add resize handlers.