fixed drawing bug;