Poland's Robert Lewandowski received lengthy treatment after a flare was thrown onto the pitch and went off close to him against Romania.