Fix pushing on resize