Fix iOS dirty <-> continuous rendering switch not working

As discussed in #2419