code still thought it was accessing Image object, not raw coords