adjust camera popup position when video size changes