Setting a max-width on legend images