Assume Element.getBoundingClientRect() exists; Fixes #14093

[skip validator]
0f1d1f1045810b1582656b5856a55dac4f49df51