fix iOS resize bug on clickevents