Copy the pixel data into the surface

It was getting immediately freed out from underneath the surface, SDL_CreateRGBSurfaceFrom does not copy the pixel data.
Merge pull request #2 from codekitchen/patch-1

Copy the pixel data into the surface