fix webgl context bug and add wireframe view of monsters