Как побороть смешение цветов, по краям фигур?

Код AS3:
stop();
graphics.beginFill(0xFF0000,1); //красный
graphics.drawRect(100,100,200,200);
graphics.beginFill(0x0000FF,1); //синий
graphics.drawCircle(150,150,100);
var myBitmap:BitmapData = new BitmapData(stage.width, stage.height,false, 0xff000000);
myBitmap.draw(stage);
stage.addEventListener(MouseEvent.MOUSE_MOVE, MOUSE_MOVE);
function MOUSE_MOVE(event:MouseEvent)
{
graphics.beginFill(myBitmap.getPixel(mouseX,mouseY),1);
//graphics.beginFill(myBitmap.getPixel(221,220),1); // цвет смешан из красного и синего
graphics.drawRect(10,10,30,30);
trace(mouseX,"!",mouseY);
}