Improve managed inputs

Make sure they are reset to their current value just after the
next render (if they are not changed during that rendering).