Basically, exp gained through Party Share still works, whether you are idle or not. So because your leecher is actively killing monsters, you still gain exp after being idle because it is Party Share exp. Same with with the Homunculus, they are killing the monster and they give you the exp, so it's a Party Share-type exp as well.