Fix for getting computed styles (e.g. 'z-index').

Closes #122.
Fixes #126.