Fix Funky layout on dialog fragment