Fix issue with getComputedStyle