accidentally reintroduced iterator bug when working in maprendered.cpp, fixed the minor mistake