fixed iOS & safari bug in display pass