Fixes layout styling problems