Fixes layout and stuff.