Fixes on resize helper