Bug in adding non-gif images