Fix form rendering in iOS theme.

Fixes #170