Update Container._getBounds() to use Rectangle.extend()

Signed-off-by: Grant Skinner <info@gskinner.com>