Fix controlled radio button behavior

Fixes #242.

@yungsters