fixed bug displaying image in Ajax question rendering