Fixed problem where images wouldn't scale if wrapped in an anchor tag.