Fix resize tool for ios6
Fix resize tool for ios6