Fixing layout of palette menu
fixing timeout issues