The image that was set previously is not cleared! Other posts on the forum indicate this is the proper way to clear an image. An example solution is attached to demonstrate this problem.
It seems it was never possible to set with null value, will be possible in Servoy 3.0b3 and onwards.
In meantime you have to use the workaround (setting an transparent image)