Cleaned up bounding box updating to run less often by finally figuring out the proper times to call the function.