StretchDraw and CopyRect palette problem

Hi all,

Has anyone but me run into the following problem,
and maybe know a solution to this?

When i use StretchDraw or CopyRect in 256 color mode,
the palette colors do not show correctly. As long as
the source and destination sizes are the same everything's
ok, but when they differ, this problem occurs every time.
The colors just seem to change in an unpredictable manner.

Any help with this is greatly appreciated, thanks in
advance,

Ramon Krikken.