Calculate height without evalInSandbox()