Fix newDraw error on MainActivity.