Improve image position in viewport popup