How to deal with a wrap-around rectangle for an object in pygame if the object’s coordinates are at (0,0) I have some code to wrap a rectangle around some text in pygame: