Fixed bug in goal images: images not displayed until second click