Fix ios6 background issue