Fix GDI crash; use Image class instead of Bitmap subclass