Yes, you're not encountering a bug.
Its part of the intended gameplay to buy the costume at the start of each level. Annie is kinda "renting" the costumes from the shopkeeper ♥️.