Delete Rows of custom UITableViewCell frame issue

I am relatively new to Xcode and Swift programming, and in my first app, which consists of a tableview with a custom TableViewCell which overrides the variable frame to not cover the full width of the view:

, a strange issue with the cell appears; it looks like the cell again gets a new (smaller) frame than the old one, but only the visible cells; if the cells get reloaded, the issue is gone. So it just happens right after the delete; if the cell leaves the screen and is then presented again, it goes back to its normal size.
My guess is that `newValueis already a custom frame and then gets customized again which makes it even smaller; but I have no idea how to adress this issue!