fix buttons on iOS and safari