Use bounding_box() instead of render_text() for speed.