added proper swf size bounding box handling