Increased the image buffer size to avoid invalid address access issue