don't iterate when not in fullscreen mode