Due to your role as the leader, your dog knows that you get to have the best area for comfortability that there is. Yet, they love you and still want to be around you, so they will linger around your comfort area. It is why your dog may sleep at the end of your bed by your feet instead of right directly next to you.