fix rendering problems of backward boxes and notes (issue #33)