//getSource().paintBackgrounds(g);
paint(g, getDestination(), 0, 0);
rgbBuffer = new RGBImage(buffer.getRGB(), buffer.getWidth(), buffer.getHeight());
paint(g, getSource(), 0, 0);
g.translate(source.getAbsoluteX(), source.getAbsoluteY());
} else {
if (transitionType == TYPE_SLIDE) {
int dest;
int startOffset = 0;