Bug fix where images would show up twice