Bugfix: hard-coded depth should be 24 bpp instead of 32