minor fixes for FramedButton, LoadImageFromArchive