Fixed detection of links which are only partially inside the viewport
Fixed sporadic utils_test failure (which could be reproduced when settings_test did not precede utils_test)
Merge pull request #945 from shyiko/master

Fixed detection of links which are only partially inside the viewport