Get the pixel positions of the close button just right.