There also appears to be something wrong with \framed. Patch proposal attached. Philipp