Fix issue with centering focused attachment.