v2: Actually fix the issue: if the window surface has a color table, the dibdrv was copying it to a stack buffer on initialization. Then `init_dib_info_from_bitmapinfo` > `init_dib_info` keeps a reference to the color table, without copying it so we need to make sure the table lives on the dibdrv.