Improved paus on unfocus for ios