Changed Iterator to take in the entire GameFrame, not just the
contentPane