Fixing popup layout.