fix for close button misalignment when you have more than 1 plot