get the colormap from the current window, not the root window

fixes "Depth of the source drawable is 32 where as the visual depth of
the colormap passed is 24"