removed ALREADY_DRAWING_ERROR and NO_BEGIN_DRAW_ERROR