check getBoundingClientRect() did not return null