Objects are clickable even if they are invisible, so when you click the black sprite you actually click all of them and it resets back to the black one. (try disabling the last event and you'll see what I mean)
You could create and destroy the objects on click, instead of setting their visibility to prevent this.