fix #08127833 - viewport sizes are now updated the first time a DOM element is registered as autoresizable