Custom resizing on main form now triggers on resize