workaround for trying to set an image without running animation