Updated iOS bug fix, according to #1023

:)