Add/remove Sprite components sometimes fails to change background-image

When switching between two Sprite components that use different background
images, the second background-image fails to get set properly.