Do not dereference uninitialized iterator

Discovered while testing ingame interaction without using mouse.