deferred palette code working for research screen

I forgot to multiply by sizeof(SDL_Color) in a call to memcpy().