Fix AGMModelDrawer bug