Fixed rectangle bounding box
Fixed more pen bounding bugs