Fix for issue#36 in which transition boxes were mis-placed.