fix focus of image record link creating scrollbar