changed function for re-creating bitmaps to always use default depth