fix MovingBackground bug