Fixed latex inline gifs