Fixed 'angles' bug for port direction.