Fix addition of newly-added uninitialized widgets in preview

Correct logic for obtaining list of postMessage-eligible widgets

Fixes #61