Moving callback closure out of loop, fixing menu images