Adding frame to the syntax tree image