Widget Factory: Fix typo (setter -> getter)

Closes gh-456