getStyle fix for inside an iFrame

getStyle returns null when you are inside an iFrame. For my use case, this fixed the issue.

This fixes https://github.com/desandro/get-size/issues/5.