This is not a bug in SFML, you just haven't coded it right. On each frame you should clear the window and redraw everything. You shouldn't just play an animation in a separate function, instead at each frame, update each animation as you see fit, then draw everything again in its current state.
Try Nexus's Thor library, it has a nice animation class.