Initial fix to add support for 24bpp desktop color depth