Use instanceof instead of checking .type when checking for Textbox. Improved display of controls when Textbox is in a group.
Merge commit '1f56c4317d50b7765dba28ada56633f9534d85d6' into TextboxPullRequest