This dog silently studied the corner in the shelter until people warmed his heart