fixed drawing outline negative location error