Fix SEGV at exit

Now we have an image cache, no need to manually cache button background
in a static var. This also then caused a crash, as the static image was
destroyed at exit time, after allegro had been de-inited.