fix for multiple buttons not linking images