[AS3] startdrag constraint issue

I have the following code:


current = this[event.target.name];
current.startDrag(true,new Rectangle(current.width/2,
     current.height/2,
     stage.stageWidth-current.width/2,
     stage.stageHeight-current.height/2));

The problem I’m having is that the objects aren’t stopping at the stage borders. I’m sure I’m missing something obvious, but I’m at my wit’s end.

Any help would be appreciated.