Do not copy value from input when creating hint. Fixes #619.