Register done with a few layout bugs on resize