Fix responsive not working when images wrapped in <a> tags