Clean up the layout position