Resizable aspectratio bug?

Resizable aspectratio bug?

I'm having a problem where if I set a div to be resizable with the aspectRatio set to true and contained in another div. If I drag past the north/south west side of the container div the inner div simply shrinks to zero.
Dragging straight west will break containment but won't shrink the div.

Here is a simple demonstration:

  1. <div id="container" style="height:600px;width:600px;">
  2.       <div id="inner" style="height:100px;width:100px;background-color:black;"></div>
  3. <div>

  4. <script>
  5.       $(document).ready(function() {
  6.             $("inner").draggable({
  7.                   containment: $("#container")
  8.             })
  9.             .resizable({
  10.                   containment: $("#container"),
  11.                   aspectRatio: true,
  12.                   handles: "all",
  13.                   minHeight: 100,
  14.                   minWidth: 100
  15.             });
  16.       });
  17. </script>
I've tried this in Chrome & IE on windows both with the same results. If I remove the aspectRatio option the problem goes away.

Am I doing something wrong here? Or is this truly a bug?