Prevent a "bad_alloc" error caused by the bounding boxes changing when the user chang...