I recommend loctite super glue with precision tip, it has easy to apply small amounts to hard to reach areas and some of the cheaper glues damage plastic. but do move the part around. if it is really loose let it set for a moment then move it more slowly but still moving it so it does not stick.
just use a little bit of cheap dollar store super glue, just use a drop and keep moving till its dry and doesn't stick, im sure hot glue would be a mess and I don't recommend it...pock knows what he's talking about