That is why an interrupt should be short as
void IRQ() { counter++; }
and your LCD will never notice.