fixed gate rotation in schematic, close #1930