Prevent 'blur' on error