Fixed bug with converting from base64 to buffer pictures