Computing height in an alternative way.

The use case for this is when a parent element is already hidden i.e. display: none, when we try to create the spinner.

The height will return as 0 when in actuality that is not the correct height of the button.