Sorry one more guess, will be getting my linux box back tomorrow hopefully, try at fltkmaxgui.mod/fltkglue.cpp[620]:
case FL_SHORTCUT:
case FL_KEYDOWN:
case FL_KEYUP:
which should have the fltk canvas ignore all shortcuts keys of which Escape is unfortunately one.