Flash Drawing API error? (example)

Hi!
I think Flash drawing API is not working like it should…
Test this:

var W:Number = 12;
var H:Number = 12;

function drawRectExt():void
{
            this.graphics.clear();
            this.graphics.lineStyle(1,0xFF0000);
            this.graphics.beginFill(0xFFFFFF, 1);
            this.graphics.drawRect(0,0,W,H);
            this.graphics.endFill();
}
        
function drawRectInt():void
{
            this.graphics.lineStyle();
            this.graphics.beginFill(0xFF0000, 1);
            this.graphics.drawRect(W*0.2,H*0.2,W-W*0.4,H-H*0.4);
            this.graphics.endFill();
}
drawRectExt();
drawRectInt();

This is the result (and the error?):

Why Flash doesn’t draw the inner box (red) in the middle of the outer box?