Metal-insulator transition of 2D electron gas in a random magnetic field