I wouldn't be worried at the feeding to sleep at night, it's not a bad habbit at all , one day she will just stop. It's the most precious part of the day for me when I put her down at night while she is drunk on the feed with a smile on her face.
If you wanted to try a few different things.... you could put a night light in her room. That could be the main difference??? Do you have a night time routine, like, bath, feed and bed? At 5mths you could even try introducing a story before she goes to bed or perhaps music in her room.
Good luck with it all.