Get rid of compiler warnings
Pass reference of Bitmap