Fixes some situations where element is 'offscreen'
Merge pull request #134 from neilbowers/master

Fixes some situations where element is 'offscreen'