adds better positioning for palette and selects.