Fixed all kinds of layout bugs

It's FIXED.