Added a workaround for `getComputedStyle`