Don't render hint if there are any errors.

Otherwise there will be hint colored red after error messages. Which I think is useless in the case.