Fixed initialization of bitmap