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

Closes #122.
Fixes #126.

Thanks for getting me started, @theospears!