if type:invisible and position >=0 widget fails

Tried to add error catching and console logging if the two conditions for a widget occur. This was originally seen by @kcarrier. Can be replicated using Identify widget when configuring viewer.js See gist here https://gist.github.com/kcarrier/c51041789c8c799b1b7f