Fix cache issue when the size is indicated directly in the templatetag