Selection border do not cover new changes area after changes

Whenever I made changes after creating frame, I need to ungroup and re-create frame to avoid situation below. When I select the updated frame, the selection border do not cover new changes area. Is there any solution?