fixed lefts.length NPE in MesquiteFrame